<template>
    <section class="el-container" style="background-color:aliceblue;margin-top: 1%">
        <el-tabs id="elTabs" v-model="activeIndex" type="border-card" closable @tab-remove="removeTab"
                 @tab-click="onTabRouter"
                 style="width: 100% ; height: 100%;">
            <el-tab-pane
                    v-for="(item) in options " :key="item.name"
                    :label="item.meta"
                    :name="item.route"
            >
                <router-view></router-view>
            </el-tab-pane>
        </el-tabs>
    </section>
</template>

<script src="../assets/js/tabPage.js">

</script>

<style scoped>

</style>
